package com.axjc.gqzr.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 终端信息表
 * @TableName sys_oauth_client_details
 */
@TableName(value ="sys_oauth_client_details")
@Data
public class SysOauthClientDetails implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 客户端ID
     */
    @TableField(value = "client_id")
    private String client_id;

    /**
     * 资源ID集合
     */
    @TableField(value = "resource_ids")
    private String resource_ids;

    /**
     * 客户端秘钥
     */
    @TableField(value = "client_secret")
    private String client_secret;

    /**
     * 授权范围
     */
    @TableField(value = "scope")
    private String scope;

    /**
     * 授权类型
     */
    @TableField(value = "authorized_grant_types")
    private String authorized_grant_types;

    /**
     * 回调地址
     */
    @TableField(value = "web_server_redirect_uri")
    private String web_server_redirect_uri;

    /**
     * 权限集合
     */
    @TableField(value = "authorities")
    private String authorities;

    /**
     * 访问令牌有效期（秒）
     */
    @TableField(value = "access_token_validity")
    private Integer access_token_validity;

    /**
     * 刷新令牌有效期（秒）
     */
    @TableField(value = "refresh_token_validity")
    private Integer refresh_token_validity;

    /**
     * 附加信息
     */
    @TableField(value = "additional_information")
    private String additional_information;

    /**
     * 自动授权
     */
    @TableField(value = "autoapprove")
    private String autoapprove;

    /**
     * 删除标记，0未删除，1已删除
     */
    @TableField(value = "del_flag")
    private String del_flag;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String create_by;

    /**
     * 修改人
     */
    @TableField(value = "update_by")
    private String update_by;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date create_time;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date update_time;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}